projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4aad08
)
(magic-mode-alist): `<!DOCTYPE HTML' in html-mode.
author
Glenn Morris
<rgm@gnu.org>
Mon, 23 Apr 2007 07:17:08 +0000
(07:17 +0000)
committer
Glenn Morris
<rgm@gnu.org>
Mon, 23 Apr 2007 07:17:08 +0000
(07:17 +0000)
lisp/files.el
patch
|
blob
|
history
diff --git
a/lisp/files.el
b/lisp/files.el
index 5f600dcf167dcb5c21d71edc30d1f4c9f411a5ca..1b6a94766d30c0c2aa09f951ee19fba414037a02 100644
(file)
--- a/
lisp/files.el
+++ b/
lisp/files.el
@@
-2131,6
+2131,7
@@
associated with that interpreter in `interpreter-mode-alist'.")
"\\(?:!DOCTYPE[ \t\r\n]+[^>]*>[ \t\r\n]*<[ \t\r\n]*" comment-re "*\\)?"
"[Hh][Tt][Mm][Ll]"))
. html-mode)
+ ("<!DOCTYPE[ \t\r\n]+[Hh][Tt][Mm][Ll]" . html-mode)
;; These two must come after html, because they are more general:
("<\\?xml " . xml-mode)
(,(let* ((incomment-re "\\(?:[^-]\\|-[^-]\\)")